<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%--
  Created by IntelliJ IDEA.
  User: zhangxinhai
  Date: 2017/4/18
  Time: 14:09
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="core" uri="http://java.sun.com/jsp/jstl/core" %>
<core:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
    <script type="text/javascript" src="${ctx}/js/jquery/tableExport.js"></script>
    <script type="text/javascript" src="${ctx}/js/jquery/jquery.base64.js"></script>
</head>
<body>
<div common-modal-form>
    <div id="withExport">
            <button onclick="$('#withExport .myTable').tableExport({type:'excel',escape:'false',ignoreColumn:[],tableName:'支付指令失败明细'})">
                下载
            </button>
        <table table-detail>
            <thead>
            <tr>
                <th>渠道名称</th>
                <th>交易代码</th>
                <th>支付订单</th>
                <th>交易金额</th>
                <th>银行请求流水号</th>
                <th>银行请求时间</th>
                <th>银行响应流水号</th>
                <th>银行响应时间</th>
                <th>银行响应码</th>
                <th>银行响应描述</th>
            </tr>
            </thead>
            <tbody ng-repeat="bean in vm.pagination.list track by $index">
            <tr>
                <td>{{vm.cached.COMANY_CODE[bean.payOrgCode]}}</td>
                <td>{{vm.cached.TRANS_CODE_ALL[bean.transCode]}}</td>
                <td>{{bean.innerPayTransNo}}</td>
                <td>{{bean.transAmt / 100| currency:""}}</td>
                <td>{{bean.bankReqNo}}</td>
                <td>{{bean.bankReqTime | date:"yyyy-MM-dd HH:mm:ss"}}</td>
                <td>{{bean.bankRespNo}}</td>
                <td>{{bean.bankRespTime | date:"yyyy-MM-dd HH:mm:ss"}}</td>
                <td>{{bean.bankRespCode}}</td>
                <td>{{bean.bankRespDesc}}</td>

            </tr>
        </table>
        <core:import url="../common/pageFoot.jsp"/>
        </br>
        </br>
    </div>
</div>
<core:import url="../common/nav.jsp"/>
</body>
</html>
